package br.com.intelsys.entityutil.entity.dic.locale;

import java.util.Set;

public class StateHiber implements State {

	private int codState;
	private String name;
	private String acronym;
	private Country country;

	private Set<City> citySet;

	public void setCodState(int codState) {
		this.codState = codState;
	}

	public int getCodState() {
		return (this.codState);
	}

	public String getName() {
		return (this.name);
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAcronym() {
		return (this.acronym);
	}

	public void setAcronym(String acronym) {
		this.acronym = acronym;
	}

	public Country getCountry() {
		return (this.country);
	}

	public void setCountry(Country country) {
		this.country = country;
	}

	public Set<City> getCitySet() {
		return this.citySet;
	}

	public void setCitySet(Set<City> citySet) {
		this.citySet = citySet;

	}

	public String getAddr() {
		return getAcronym() != null ? getAcronym().toLowerCase() : null;
	}

	@Override
	public String toString() {
		return "StateHiber [getAcronym()=" + getAcronym() + ", getCodState()=" + getCodState() + ", getName()=" + getName() + "]";
	}

}
